Player = class('Player', Entity):include(Stateful)

function Player:initialize()
	--self.img = love.graphics.newImage('img/thin_man-frames.png')
	Entity.initialize(self)	
	self.x = 0
	self.y = 0
	self.height = 128
	self.width = 32
	self.br_x = self.x + self.width
	self.br_y = self.y + self.height
	self.name = "slave"
	self.entity_type = "player"
	
	self:gotoState("sim")

end

function Player:spawn(x, y)
	self.x = x
	self.y = y
end

require'src.player_states.platform'
require'src.player_states.sim'
